import axios from './createAxios'

export const getPageList = params => { return axios.get('goods/getPageList', {params: params}) }

export const getGoods = params => { return axios.get('goods/getGoods', {params: params}) }

export const getPart = params => { return axios.get('goods/getPart', {params: params}) }

export const queryPartition = params => { return axios.get('goods/queryPartition', {params: params}) }

export const getGoodsCategory = params => { return axios.get('goods/getGoodsCategoryWeb', {params: params}) }

export const getIndexBanner = params => { return axios.get('image/getIndexBanner', {params: params}) }
